package com.bestcem.xm.txtanls.service.dto.train;

import lombok.*;

/**
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/6/10 15:25
 */
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Getter
@Setter
public class TrainTextDTO {
    /**
     * 待训练的文本
     */
    private String text;
    /**
     * 文本对应的时间字段(timeFieldName)
     */
    private String time;
    /**
     * 文本对应的唯一标识
     */
    private String collectionId;
    /**
     * 文本对应的唯一标识
     */
    private String collectionTime;

    public TrainTextDTO(String text, String time, String collectionId) {
        this.text = text;
        this.time = time;
        this.collectionId = collectionId;
        this.collectionTime = time;
    }
}
